@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --pf-bg: #f4f7fc;
  --pf-surface: #ffffff;
  --pf-surface-soft: #f8fbff;
  --pf-text: #121d31;
  --pf-muted: #5c6b85;
  --pf-border: #dce4f1;
  --pf-primary: #2f6fe4;
  --pf-primary-2: #4d8cf5;
  --pf-gradient: linear-gradient(135deg, #1f3f83 0%, #3b73dd 55%, #6ea8ff 100%);
  --pf-shadow: 0 18px 40px rgba(16, 28, 51, 0.1);
}

* { box-sizing: border-box; }

body {
  font-family: "Inter", sans-serif;
  color: var(--pf-text);
  background: radial-gradient(circle at 0% 0%, #edf4ff 0%, var(--pf-bg) 50%, #f2f5fb 100%);
}

.top-header { display: none !important; }

.header,
.header.fixed-header {
  top: 0 !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom: 1px solid rgba(220, 228, 241, 0.8);
  box-shadow: 0 12px 28px rgba(15, 25, 45, 0.08);
  backdrop-filter: blur(10px);
}

.navbar {
  background: transparent !important;
  padding: 14px 24px !important;
}

.navbar-brand.logo img,
.logo img {
  max-height: 56px !important;
  width: auto !important;
  max-width: 220px !important;
}

.account .btn {
  min-width: 130px;
  padding: 10px 18px !important;
}

.nav-menu .nav-item .nav-link {
  color: #1b2b49 !important;
  font-weight: 600;
  padding: 16px 0 !important;
}

.nav-menu .nav-item:hover .nav-link,
.navbar-nav .nav-item .nav-link.active {
  color: var(--pf-primary) !important;
}

.dropdown-menu {
  border: 1px solid var(--pf-border);
  border-radius: 12px;
  box-shadow: var(--pf-shadow);
}

.hero,
.banner,
.breadcrumb {
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  margin-top: 10px;
}

.hero::after,
.banner::after,
.breadcrumb::after {
  background: linear-gradient(115deg, rgba(10, 18, 34, 0.82) 20%, rgba(38, 74, 148, 0.68) 100%);
}

.hero__content-title,
.breadcrumb .title {
  font-size: clamp(2rem, 4.2vw, 3.8rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em;
}

.section,
.section--sm,
.section--top,
.section--bottom {
  padding-top: clamp(58px, 6vw, 110px);
  padding-bottom: clamp(58px, 6vw, 110px);
}

.card,
.custom--card,
.blog-post,
.service-card,
.feedback-card,
.trainer-profile,
.widget,
.accordion-item {
  background: var(--pf-surface) !important;
  border: 1px solid var(--pf-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--pf-shadow) !important;
}

.blog-post__body,
.widget-alt__body,
.trainer-profile,
.query {
  background: var(--pf-surface) !important;
}

.btn,
.cmn--btn {
  border-radius: 12px !important;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.btn:hover,
.cmn--btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(26, 74, 170, 0.24) !important;
}

.btn--base {
  background: var(--pf-gradient) !important;
  border: 0 !important;
}

.btn--outline {
  border: 1px solid #c7d6ef !important;
  background: #fff !important;
}

.form-control,
.form--control,
.auth-form__input,
.form-control-custom,
.newsletter__input,
.custom--nice-select .nice-select {
  border: 1px solid #d4deee !important;
  border-radius: 12px !important;
  background: #fff !important;
}

.form-control:focus,
.form--control:focus,
.auth-form__input:focus,
.form-control-custom:focus,
.custom--nice-select .nice-select:focus {
  border-color: #4d8cf5 !important;
  box-shadow: 0 0 0 4px rgba(77, 140, 245, 0.16) !important;
}

.table {
  border: 1px solid var(--pf-border) !important;
  border-radius: 14px;
  overflow: hidden;
}

.table thead tr {
  background: var(--pf-gradient) !important;
}

.table tbody tr:nth-child(even) {
  background: var(--pf-surface-soft) !important;
}

.table tbody tr:hover {
  background: #eaf2ff !important;
}

.pagination .page-link,
.pagination .page-item span {
  border-radius: 10px !important;
  border: 1px solid var(--pf-border);
  min-width: 42px;
  height: 42px;
}

.pagination .page-item.active .page-link {
  background: var(--pf-gradient) !important;
  border-color: transparent !important;
}

.footer {
  background: #0e1b34 !important;
}

.footer .t-link,
.footer p,
.footer span,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5 {
  color: rgba(238, 244, 255, 0.92) !important;
}

@media (max-width: 991px) {
  .header { background: #fff !important; }
  .navbar { padding: 14px 18px !important; }
  .hero,
  .banner,
  .breadcrumb { border-radius: 0 0 24px 24px; }
}
